package com.isoft.entity.flight;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

/**
 * @author LiuGaoMing
 * @version 1.0
 * @description:飞机信息实体类
 * @date 2024/6/22 15:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("BASE_CFIE")
public class FlightInfo {
//    自增列
    @TableId(value = "ID",type = IdType.AUTO)
    private Integer ID;//ID
    @TableField(value = "META_ID")
    @JsonProperty("META_ID")
    private Integer METAID;//航班唯一标识
    @TableField(value = "CODE")
    private String CODE;//飞机编号
    @TableField(value = "CFTP")
    private String CFTP;//飞机机型
    @TableField(value = "VALID")
    private Integer VALID;

    public Integer getMETA_ID() {
        return METAID;
    }
    public void setMETA_ID(Integer META_ID) {
        this.METAID = META_ID;
    }
}
